package com.hhl.flower.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName order_detail
 */
@TableName(value ="order_detail")
@Data
public class OrderDetail implements Serializable {
    /**
     * 订单详情ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 花ID
     */
    private Integer fId;

    /**
     * 订单ID
     */
    private Integer oId;

    /**
     * 数量
     */
    private Integer number;

    /**
     * 金额
     */
    private Double amount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}